import { ref } from 'vue'
import { defineStore } from 'pinia'

export const usehidenStore = defineStore('hideEdit', () => {
    const showEdit = ref(true)
    const showReConnect = ref(true)
    function setShow(show: boolean) {
        showEdit.value = show
    }

    function setShowReConnect(show: boolean) {
        showReConnect.value = show
    }
    return { showEdit, setShow, showReConnect, setShowReConnect }
})
